org.eclipse.vtp.desktop.projects.core
Interface IDatabase
- All Superinterfaces:
- org.eclipse.core.runtime.IAdaptable, IVoiceToolsResource
- All Known Implementing Classes:
- Database
public interface IDatabase
- extends IVoiceToolsResource
This interface represents a folder resource that contains database
table definitions.
- Version:
- 2.0
- Author:
- Trip Gilman
| Methods inherited from interface org.eclipse.core.runtime.IAdaptable |
getAdapter |
getTables
java.util.List getTables()
- Returns:
- The list of
IDatabaseTables that are defined for this
database
createTable
IDatabaseTable createTable(java.lang.String name)
throws org.eclipse.core.runtime.CoreException
- Creates a new database table definition with the given name. The table
will initially have no columns but all file and folder resources related
to this new table will be created as part of this action.
- Parameters:
name - The name of the new table definition
- Returns:
- The new database table
- Throws:
org.eclipse.core.runtime.CoreException - If an error occured while creating the required
file or folder resources of this database table definition
delete
void delete()
throws org.eclipse.core.runtime.CoreException
- Throws:
org.eclipse.core.runtime.CoreException